<template>
	<view class="b-list" >
		<view class="b-list-item" v-for="item in list">
			<view class="row01">
				<text class="cell01">{{item.type}}</text>
				<text class="cell02">{{item.createtime}}</text>
			</view>
			<view class="row02">
				<text class="cell01">{{item.desc}}</text>
				<text class="cell02"></text>
				<text class="cell03">{{item.amount}}</text>
			</view>
		</view>
	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				username:'',
				avatar:'',
				mobile:'',
				companyName:'',
				worktype:'',
				verify:-1,
				amount:0,
				list:[]
			}
		},
		onLoad(){
			this.myList();
		},
		
		onShow(){
		},
		methods: {
		
		
			myList(){
				let param = {
					page:1
				}
				let that = this;
				this.$api.amountList(param).then(res => {
					
					if(res.code == 1){
						that.list = res.data;
					}
					console.info(res)
				})
			}
		}
	}
</script>

<style lang="scss">
	.b-list{
		.b-list-item{
			margin: 42rpx;
			border-bottom: 1rpx solid #EBEBEB;
			.row01{
				display: flex;
				.cell01{
					font-size: 28rpx;
					color: #333333;
					flex: auto;
				}
				.cell02{
					font-size: 24rpx;
					color: #ADADAD;
				}
			}
			.row02{
				display: flex;
				margin: 18rpx 0;
				.cell01{
					font-size: 26rpx;
					color: #666666;
				}
				.cell02{
					font-size: 26rpx;
					color: #666666;
					margin-left: 65rpx;
					flex: auto;
				}
				.cell03{
					font-size: 28rpx;
					color: #EC3535;
				}
			}
		}
	}
</style>
